package com.fd.spring.bean;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Objects;
@Data
@NoArgsConstructor  // 无参构造器
@AllArgsConstructor //所有参数构造器,一般和@Builder搭配使用链式编程
@Builder
public class Car {
    private String name;
    private String color;
}
